package com.wangshuo.webadmin.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wangshuo.webadmin.entity.ViewAppointment;
import com.wangshuo.webadmin.service.ViewAppointmentService;
import com.wangshuo.webadmin.mapper.ViewAppointmentMapper;
import com.wangshuo.webadmin.vo.appointment.AppointmentQueryVo;
import com.wangshuo.webadmin.vo.appointment.AppointmentVo;
import org.springframework.stereotype.Service;

/**
* @author 13326
* @description 针对表【view_appointment(预约看房信息表)】的数据库操作Service实现
* @createDate 2025-01-21 16:43:51
*/
@Service
public class ViewAppointmentServiceImpl extends ServiceImpl<ViewAppointmentMapper, ViewAppointment>
    implements ViewAppointmentService{
    private final ViewAppointmentMapper viewAppointmentMapper;

    public ViewAppointmentServiceImpl(ViewAppointmentMapper viewAppointmentMapper) {
        this.viewAppointmentMapper = viewAppointmentMapper;
    }

    @Override
    public IPage<AppointmentVo> pageapp(IPage<AppointmentVo> page, AppointmentQueryVo queryVo){
        return viewAppointmentMapper.pageapp(page,queryVo);
    }

}




